package cn.jtcoding.springframework.aop.aspect;

import lombok.ToString;

@ToString
public class AspectInfo {
    private int orderIndex;

    private DefaultAspect defaultAspect;

    public AspectInfo(int orderIndex, DefaultAspect defaultAspect) {
        this.orderIndex = orderIndex;
        this.defaultAspect = defaultAspect;
    }

    public int getOrderIndex() {
        return orderIndex;
    }

    public DefaultAspect getDefaultAspect() {
        return defaultAspect;
    }
}
